package com;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@EnableTransactionManagement
@EnableScheduling
@MapperScan("com.boot.dao")
//@EnableDubbo  //会扫描所有的包，从中找出dubbo的@Service标注的类
public class ProfiledemoApplication {

	public static void main(String[] args) {
		SpringApplication.run(ProfiledemoApplication.class, args);

	}
}
